<HTML>
<HEAD>
<TITLE>Learning JavaScript</TITLE>
</HEAD>
<BODY onLoad="alert('Welcome!')">
 
 
<INPUT TYPE="button" value="Put your mouse over this button" onMouseOver="alert('Thanks for
clicking!')">
<p>
<input type="button" value="Double-Click this button" onDblClick="alert('Are you sure?')">
<p>
<input type="button" value="Click here for yellow"  onClick="document.bgColor='yellow'">
<p>
 
<input type="button" value="Click here for orange" onClick="document.bgColor='orange'">
<p>
<a href="http://tecrafton.wikispaces.com" onClick="alert('Are you sure?')">Go to another web site</a>
<p>
<img src="image.gif" width=100 onDblClick="this.width=300">
 
</BODY>
</HTML>




Go to another web site






<form><input type="button" value="Sign up for your 2013 Summer Reading book choices" onclick="window.open('http://surveymonkey.com/s/fwcdreads')" /></form>